package nc.ui.arap.actions.informer;

import java.awt.Toolkit;

import nc.ui.arap.informer.DZTZImportDialog;
import nc.ui.arap.informer.DZTZMainPanel;

/**
 * nc.ui.arap.actions.informer.DztzImportAction
 *
 * @author twei
 *
 */
public class DztzImportAction extends DztzBaseAction {
	
	public void show(){
		DZTZMainPanel parent = getDztzParent();
		if(parent.importdialog==null)
		{
			parent.importdialog=new DZTZImportDialog(parent);
			parent.importdialog.setLocation(Toolkit.getDefaultToolkit().getScreenSize().width/2-parent.importdialog.getWidth()/2, Toolkit.getDefaultToolkit().getScreenSize().height/2-parent.importdialog.getHeight()/2);
		}
		parent.importdialog.setVisible(true);
	
	}

}
